package ACM;

import java.util.Scanner;
import java.util.Arrays;

public class Main_08 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int num = Integer.parseInt(sc.nextLine());
        String[] strlist = sc.nextLine().split(" ");
        Arrays.sort(strlist);
        for (String i : strlist) {
            System.out.print(i + " ");
        }
    }
}

